{"version":3,"file":"link.map.js","names":["BX","namespace","trim","Landing","Utils","isPlainObject","isString","textToPlaceholders","create","escapeText","decodeDataValue","Block","Node","Link","options","apply","this","arguments","type","isGrouped","node","addEventListener","onClick","bind","isAllowInlineEdit","setAttribute","Loc","getMessage","onChange","Runtime","debounce","onContentUpdate","prototype","__proto__","constructor","History","getInstance","push","getField","setValue","getValue","isMenuMode","manifest","menuMode","event","preventDefault","stopPropagation","UI","Button","ColorAction","hideAll","Panel","StylePanel","isShown","show","isPrevented","target","data","preventSave","preventHistory","startValue","containsImage","field","hrefInput","text","includes","getPlaceholderData","href","then","placeholdersData","innerHTML","replace","RegExp","name","containsHtml","skipContent","attr","attrs","hasOwnProperty","removeAttribute","firstElementChild","tagName","value","getAttribute","startsWith","preventAdjustValue","html","allowedTypes","Field","LinkUrl","TYPE_BLOCK","TYPE_PAGE","TYPE_CRM_FORM","TYPE_CRM_PHONE","Main","params","TYPE_STORE","TYPE_CATALOG","features","TYPE_DISK_FILE","title","selector","content","siteId","site_id","landingId","id","makeDisplayedHrefValue","setHrefTypeSwitcherValue","getHrefStringType","removeHrefTypeFromHrefString"],"sources":["link.js"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,cAEb,IAAIC,EAAOF,GAAGG,QAAQC,MAAMF,KAC5B,IAAIG,EAAgBL,GAAGG,QAAQC,MAAMC,cACrC,IAAIC,EAAWN,GAAGG,QAAQC,MAAME,SAChC,IAAIC,EAAqBP,GAAGG,QAAQC,MAAMG,mBAC1C,IAAIC,EAASR,GAAGG,QAAQC,MAAMI,OAC9B,IAAIC,EAAaT,GAAGG,QAAQC,MAAMK,WAClC,IAAIC,EAAkBV,GAAGG,QAAQC,MAAMM,gBASvCV,GAAGG,QAAQQ,MAAMC,KAAKC,KAAO,SAASC,GAErCd,GAAGG,QAAQQ,MAAMC,KAAKG,MAAMC,KAAMC,WAClCD,KAAKE,KAAO,OAEZ,IAAKF,KAAKG,YACV,CACCH,KAAKI,KAAKC,iBAAiB,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